package org.jeecg.modules.demo.yxsofeiyongfentan.entity;

import com.baomidou.mybatisplus.annotation.*;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.jeecg.common.aspect.annotation.Dict;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * @Description: so_feiyong
 * @Author: jeecg-boot
 * @Date:   2022-12-02
 * @Version: V1.0
 */
@Data
@TableName("so_feiyong")
@ApiModel(value="so_feiyong对象", description="so_feiyong")
public class SoFeiyVo implements Serializable {
    private static final long serialVersionUID = 1L;

    /**质检单号*/
    @Excel(name = "质检单号", width = 15)
    @ApiModelProperty(value = "质检单号")
    private String soqNo;
    /**主键ID*/
    @TableId(type = IdType.ASSIGN_ID)
    @ApiModelProperty(value = "主键ID")
    private String id;
    /**仓库*/
    @Excel(name = "仓库", width = 15)
    @ApiModelProperty(value = "仓库")
    private String whNum;
    /**产品出库单*/
    @Excel(name = "产品出库单", width = 15)
    @ApiModelProperty(value = "产品出库单")
    private String proSodNo;
    /**产品批号*/
    @Excel(name = "产品批号", width = 15)
    @ApiModelProperty(value = "产品批号")
    private String prdBn;
    /**销售结算单仓库*/
    @Excel(name = "销售结算单仓库", width = 15)
    @ApiModelProperty(value = "销售结算单仓库")
    private String sodWhNum;
    /**销售结算单出库单*/
    @Excel(name = "销售结算单出库单", width = 15)
    @ApiModelProperty(value = "销售结算单出库单")
    private String soSodNo;
    /**销售结算单号*/
    @Excel(name = "销售结算单号", width = 15)
    @ApiModelProperty(value = "销售结算单号")
    private String sosNo;
    /**入库单仓库*/
    @Excel(name = "入库单仓库", width = 15)
    @ApiModelProperty(value = "入库单仓库")
    private String warWhNum;
    /**费用单号*/
    @Excel(name = "费用单号", width = 15)
    @ApiModelProperty(value = "费用单号")
    private String soFyNo;
    /**出库单号*/
    @Excel(name = "出库单号", width = 15)
    @ApiModelProperty(value = "出库单号")
    private String sodNo;
    /**成本编号*/
    @Excel(name = "成本编号", width = 15)
    @ApiModelProperty(value = "成本编号")
    private Integer costNo;
    /**计价金额*/
    @Excel(name = "计价金额", width = 15)
    @ApiModelProperty(value = "计价金额")
    private BigDecimal psAmount;
    /**税率*/
    @Excel(name = "税率", width = 15)
    @ApiModelProperty(value = "税率")
    @Dict(dicCode = "tax_rate")
    private Integer psTaxrat;
    /**不含税价*/
    @Excel(name = "不含税价", width = 15)
    @ApiModelProperty(value = "不含税价")
    private BigDecimal psNotax;
    /**税额*/
    @Excel(name = "税额", width = 15)
    @ApiModelProperty(value = "税额")
    private BigDecimal psTax;
    /**结算状态*/
    @Excel(name = "结算状态", width = 15)
    @ApiModelProperty(value = "结算状态")
    private Integer sosStauts;
    /**单据日期*/
    @Excel(name = "单据日期", width = 15, format = "yyyy-MM-dd")
    @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    @ApiModelProperty(value = "单据日期")
    private Date sofDate;
    /**创建日期*/
    @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "创建日期")
    private Date createTime;
    /**业务类型*/
    @Excel(name = "业务类型", width = 15)
    @ApiModelProperty(value = "业务类型")
    @Dict(dicCode = "Tos")
    private Integer ywType;
    /**票据类型*/
    @Excel(name = "票据类型", width = 15)
    @ApiModelProperty(value = "票据类型")
    @Dict(dicCode = "Invoice_Type")
    private Integer pjType;
    /**往来单位*/
    @Excel(name = "往来单位", width = 15)
    @ApiModelProperty(value = "往来单位")
//    @Dict(dictTable = "YX_CUSTOMER",dicCode = "ID",dicText = "CUSTOMER_NAME")
    private String wlDw;
    /**业务员*/
    @Excel(name = "业务员", width = 15)
    @ApiModelProperty(value = "业务员")
    @Dict(dictTable = "SYS_USER",dicCode = "ID",dicText = "REALNAME")
    private String salesStaff;
    /**分摊状态（0：未分摊，1：未完成，2：已完成分摊）*/
    @Excel(name = "分摊状态（0：未分摊，1：未完成，2：已完成分摊）", width = 15)
    @ApiModelProperty(value = "分摊状态（0：未分摊，1：未完成，2：已完成分摊）")
    @Dict(dicCode = "yn")
    private Integer isFt;
    /**分摊总金额*/
    @Excel(name = "分摊总金额", width = 15)
    @ApiModelProperty(value = "分摊总金额")
    private BigDecimal taxamount;
    /**无税单价*/
    @Excel(name = "无税单价", width = 15)
    @ApiModelProperty(value = "无税单价")
    private BigDecimal wsdj;
    /**审核状态*/
    @Excel(name = "审核状态", width = 15)
    @ApiModelProperty(value = "审核状态")
    private Integer shenhe;
    /**删除状态*/
    @Excel(name = "删除状态", width = 15)
    @ApiModelProperty(value = "删除状态")
    private Integer isDelete;
    /**费用名称*/
    @Excel(name = "费用名称", width = 15)
    @ApiModelProperty(value = "费用名称")
    @Dict(dicCode = "cost_name")
    private String fyName;
    /**发票号*/
    @Excel(name = "发票号", width = 15)
    @ApiModelProperty(value = "发票号")
    private String fpNo;
    /**备注*/
    @Excel(name = "备注", width = 15)
    @ApiModelProperty(value = "备注")
    private String remark;
    /**审核人*/
    @Excel(name = "审核人", width = 15)
    @ApiModelProperty(value = "审核人")
    @Dict(dictTable = "sys_user",dicCode ="id",dicText="realname")
    private String shName;
    /**审核时间*/
    @Excel(name = "审核时间", width = 15)
    @ApiModelProperty(value = "审核时间")
    @TableField(updateStrategy = FieldStrategy.IGNORED)
    private Date shTime;
    /**附件*/
    @Excel(name = "附件", width = 15)
    @ApiModelProperty(value = "附件")
    private String fj;
    /**租户id*/
    @Excel(name = "租户id", width = 15)
    @ApiModelProperty(value = "租户id")
    private Integer tenantId;
    /**部门*/
    @Excel(name = "部门", width = 15)
    @ApiModelProperty(value = "部门")
    @Dict(dictTable = "sys_depart",dicCode ="id",dicText="depart_name")
    private String dept;
    /**内部编号*/
    @Excel(name = "内部编号", width = 15)
    @ApiModelProperty(value = "内部编号")
    private String tradecode;
    /**剩余分摊金额*/
    @Excel(name = "剩余分摊金额", width = 15)
    @ApiModelProperty(value = "剩余分摊金额")
    private BigDecimal syFtjine;
    /**创建人*/
    @ApiModelProperty(value = "创建人")
    private String createBy;
    /**机构编码*/
    @ApiModelProperty(value = "机构编码")
    private String sysOrgCode;
}
